package factory;

import dao.NewsDao;
import dao.AbstractFactory;
import dao.impl.NewsDaoMySqlImpl;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/11/25  16:30
 */
public class MysqlDaoFactory implements AbstractFactory {
    @Override
    public NewsDao getInstance() {
        return new NewsDaoMySqlImpl();
    }
}
